<?php
/**
+--------------------------------------------------------------
 * User: maqun
+--------------------------------------------------------------
 * Date: 2015/12/5
+--------------------------------------------------------------
 * Time: 11:17
+--------------------------------------------------------------
 * 编程语言种类,程序运行结果,导航栏菜单
+--------------------------------------------------------------
 **/
defined('THINK_PATH') or exit();
return array(
    'language'=>array(
        array('name'=>'C','value'=>0),
        array('name'=>'C++','value'=>1),
        array('name'=>'Pascal','value'=>2),
        array('name'=>'Java','value'=>3),
        array('name'=>'Ruby','value'=>4),
        array('name'=>'Bash','value'=>5),
        array('name'=>'Python','value'=>6),
        array('name'=>'PHP','value'=>7),
        array('name'=>'Perl','value'=>8),
        array('name'=>'C#','value'=>9),
        array('name'=>'Obj-C','value'=>10),
        array('name'=>'FreeBasic','value'=>11),
        array('name'=>'Other Language','value'=>12)
    ),
    'menus' => array(
        0 => array(
            'url' => U('/Index/index',array('id'=>1)),
            'name' => '首页',
            'label'=> 'fa fa-home bigger-120',
            'list'=> array()
        ),
        1 => array(
            'url' => U('/News/index'),
            'name' => '新闻管理',
            'label'=> 'fa fa-eye bigger-110',
            'list'=> array(
                0 => array(
                    'url' => U('/News/index'),
                    'name'=> '新闻列表'
                ),
                1 => array(
                    'url' => U('/News/add'),
                    'name'=> '添加新闻'
                ),
            )
        ),
        2 => array(
            'url' => '',
            'name'=> '问题管理',
            'label'=> 'fa fa-briefcase',
            'list'=> array(
                0 => array(
                    'url' => U('/Problem/index'),
                    'name'=> '问题列表'
                ),
                1 => array(
                    'url' => U('/Problem/add'),
                    'name'=> '添加问题'
                ),
                3 => array(
                    'url' => U('/Import/importPage'),
                    'name'=> '导入问题'
                ),
                4 => array(
                    'url' => U('/Export/exportPage'),
                    'name'=> '导出问题'
                ),
                5 => array(
                    'url' => U('/Problem/rejudge'),
                    'name'=> '重判题目'
                ),
            )
        ),
        3 => array(
            'url' => '',
            'name'=> '竞赛&作业管理',
            'label'=> 'fa fa-keyboard-o',
            'list'=> array(
                0 => array(
                    'url' => U('/Contest/index'),
                    'name'=> '竞赛&作业列表'
                ),
                1 => array(
                    'url' => U('/Contest/add'),
                    'name'=> '添加竞赛&作业'
                ),
                2 => array(
                    'url' => U('/Contest/teamGenerate'),
                    'name'=> '比赛队账号生成器'
                ),
            )
        ),
        4 => array(
            'url' => U('Purview/index'),
            'name'=> '权限管理',
            'label'=> 'fa fa-group smaller-95',
            'list'=> array(
                0 => array(
                    'url' => U('Purview/index'),
                    'name'=> '权限列表'
                ),
                1 => array(
                    'url' => U('Purview/add'),
                    'name'=> '添加权限'
                ),
                3 => array(
                    'url' => U('User/getAdmin'),
                    'name'=> '管理员'
                ),
                4 => array(
                    'url' => U('User/pass'),
                    'name'=> '修改密码'
                ),
            )
        ),
        5 => array(
            'url' => '1',
            'name'=> '其他操作',
            'label'=>'fa fa-briefcase',
            'list'=> array(
                0 => array(
                    'url' => 'http://code.google.com/p/hustoj/',
                    'name'=> 'HUSTOJ'
                ),
                1 => array(
                    'url' => 'http://code.google.com/p/freeproblemset/',
                    'name'=> 'FreeProblemSet'
                ),
                3 => array(
                    'url' => '1',
                    'name'=> '更新数据库'
                ),
                4 => array(
                    'url' => '1',
                    'name'=> '转移源码'
                ),
            )
        ),
    )
);